package org.bigjava.buff.goods.service;

import org.bigjava.buff.goods.bean.Box;
import org.bigjava.buff.goods.bean.ExteriorAndPrice;
import org.bigjava.buff.goods.bean.Goods;

import java.util.List;

public interface GoodsService {

    //打开箱子
    ExteriorAndPrice openBox(Integer boxId,Integer userId);

    //获取所有可开启的武器箱
    List<Box> getAllBox();

    //获得箱子中的物品
    List<Goods> showGoodsInBox(Integer id);

    //添加新武器箱
    int addBox(List<Goods> goodsList,Box box);

    //获取物品详细信息
    ExteriorAndPrice getGoodsInfo(Integer epId);

    //修改饰品指向用户
    int updateGoodsUser(Integer uid,Integer eid);

}
